import { defineStore } from 'pinia'
export const useProcessParamsStore = defineStore('processParamsStore', {
  state: () => {
    return {
      paramTypes:[
        {
        value:'0',
        label:'表单参数'
        },
        {
          value:'1',
          label:'自定义参数'
        },
        {
          value:'2',
          label:'SQL参数'
        },
        {
          value:'3',
          label:'接口参数'
        }],
      paramValueTypes:[
        {
          value:'0',
          label:'字符型'
        },
        {
          value:'1',
          label:'数值型'
        },
        {
          value:'2',
          label:'布尔型'
        },
        {
          value:'3',
          label:'对象(接口有效)'
        }
      ],
      overDueWarnings:[
        {
          value:'0',
          label:'不处理',
        },
        {
          value:'1',
          label:'系统消息提醒',
        },
        {
          value:'2',
          label:'自定义WebApi处理',
        }
      ],
      overDueWays:[
        {
          value:'0',
          label:'不处理',
        },
        {
          value:'1',
          label:'系统消息提醒',
        },
        {
          value:'2',
          label:'进入下一步',
        },
        {
          value:'3',
          label:'自定义WebApi处理',
        }
      ],
      timedStartWays:[
        {
          value:'0',
          label:'不设置',
        },
        {
          value:'1',
          label:'自定义',
        }
      ]
    }
  },
})